﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebAPlTest
{
    interface IDataService
    {
        List<Book> GetAllBooks();
    }
    public class DataService:IDataService
    {
        public List<Book> GetAllBooks()
        {
            return data;
        }
    }
}
